Skip to content

docs(chat): describe auto-scroll and scroll to latest - #318

Open
danielleroux wants to merge 2 commits into
docs/chat-input-interruptfrom
docs/chat-auto-scroll
Open

danielleroux wants to merge 2 commits into
docs/chat-input-interruptfrom
docs/chat-auto-scroll

Conversation

@danielleroux

Copy link
Copy Markdown
Collaborator

Summary

Documents Auto-scroll for ix-chat: default behaviour, the scroll-to-latest button, suppressAutoScroll and the scrollToBottom() / scrollToTop() methods.

Code: siemens/ix#2917 (the docs preview builds against it via .env.pullrequest).

Refs IX-14. Stacked on the chat input Interrupt docs PR.

@danielleroux
danielleroux requested review from a team as code owners October 22, 2026 14:40
@danielleroux
danielleroux requested review from kathrinschalber and lzeiml and removed request for a team October 22, 2026 14:40
@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@danielleroux
danielleroux added this pull request to stack #321 October 22, 2026 14:40
@netlify

netlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for industrial-experience ready!

Name Link
🔨 Latest commit 8997501
🔍 Latest deploy log https://app.netlify.com/projects/industrial-experience/deploys/6ada20687d34e01f75c05ad9
😎 Deploy Preview https://deploy-preview-318--industrial-experience.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@danielleroux danielleroux added this to the IX 6.0.0 milestone Oct 22, 2026
- **Responsiveness:** Chats will resize to a max-width of `45rem`.
- **Auto-scroll:** By default, the chat keeps the latest content in view while new messages are added or a response streams. Auto-scroll stops as soon as users scroll away from the bottom and resumes when they return to the bottom, select "Scroll to latest" or send a new prompt.
- **Scroll to latest:** While users are away from the bottom, a "Scroll to latest" button is shown above the chat input. It never covers the chat input and scrolls without animation when users prefer reduced motion.
- **Custom scroll behavior:** Turn off auto-scroll and the "Scroll to latest" button with `suppressAutoScroll` if the application controls scrolling itself, e.g. to scroll to the start of a new answer. Use `scrollToBottom()` and `scrollToTop()` to scroll programmatically, e.g. after loading a conversation.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. this last bullet point is not behavior in context - move it to the (new) options section
  2. avoid technical jargon e.g. supressAutoScroll

- [Panes](../panes): Use when the chat is a secondary feature, e.g. for contextual help
- **Responsiveness:** Chats will resize to a max-width of `45rem`.
- **Auto-scroll:** By default, the chat keeps the latest content in view while new messages are added or a response streams. Auto-scroll stops as soon as users scroll away from the bottom and resumes when they return to the bottom, select "Scroll to latest" or send a new prompt.
- **Scroll to latest:** While users are away from the bottom, a "Scroll to latest" button is shown above the chat input. It never covers the chat input and scrolls without animation when users prefer reduced motion.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as there is currently no code example visualizing this, should we add an illustration?

@flxlst09 flxlst09 modified the milestones: IX 6.0.0, IX 6.1.0 Nov 9, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants